package com.hmall.search.service;

import com.hmall.common.dto.PageDTO;
import com.hmall.search.pojo.ItemDoc;
import com.hmall.search.pojo.RequestParams;
import org.springframework.web.bind.annotation.RequestParam;

import java.io.IOException;

public interface ISearchService {

    //基本搜索
    PageDTO<ItemDoc> pageSearch(RequestParams requestParams) throws IOException;

    //上架添加商品
    void updateById(Long id) throws IOException;

    //下架删除商品
    void downDeteleByTd(Long id) throws IOException;
}
